/*
 *  Cursor.cpp
 *  Rempart
 *
 *  Created by julien BONACHERA on 03/06/11.
 *  Copyright 2011 __MyCompanyName__. All rights reserved.
 *
 */

#include "Cursor.h"

Cursor* Cursor::instance(0);


Cursor::Cursor(){
	this->SetImage(*RessourcesManager::getInstance()->getCursorSurface());
	this->SetCenter(this->GetSize().x/2, this->GetSize().y/2);
}
Cursor * Cursor::getInstance() {
	
	if (instance == 0) {
		instance = new Cursor();
	}
	return instance;
}